import { POST } from '@/api/common.js'

export const getEmailCode = (occasion, data) => {
  return POST({
    url: `/cas/${occasion}/code`,
    data
  })
}
